package com.zjdiepu.www.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 项目名称：diepu-parent-biz <br/> 
 * 类名称：QiniuProperty <br/>  
 * 类描述：  七牛配置<br/>    
 * 创建人：xiongxiaotun <br/> 
 * 创建时间：2017年10月27日 下午3:06:38  <br/>   
 * 修改人：xiongxiaotun <br/> 
 * 修改时间：2017年3月27日 下午3:06:38   <br/>  
 * 修改备注：    <br/> 
 * @version V1.0   <br/>
 */
@Component
@PropertySource(value = "classpath:qiniu.properties")
public class QiniuProperty {
	/**
	 * 七牛访问授权
	 */
	@Value("${qiniu.access_key}")
	private String accessKey;
	/**
	 * 七牛访问私钥
	 */
	@Value("${qiniu.secret_key}")
	private String secretKey;
	/**
	 * 务处理完成通知地址
	 */
	@Value("${qiniu.notify_url}")
	private String notifyUrl;
	/**
	 * 七牛网关
	 */
	@Value("${qiniu.gateway}")
	private String gateway;
	/**
	 * 七牛备份bucket
	 */
	@Value("${qiniu.old_bucket}")
	private String oldBucket;
	/**
	 * 七牛bucket
	 */
	@Value("${qiniu.new_bucket}")
	private String newBucket;
	/**
	 * 七牛任务队列
	 */
	@Value("${qiniu.pipeline}")
	private String pipeline;
	/**
	 * 七牛视频处理命令
	 */
	@Value("${qiniu.video_encode}")
	private String videoEncode;
	/**
	 * 七牛图片处理命令
	 */
	@Value("${qiniu.img_limit}")
	private String imgLimit;
	/**
	 * 七牛图片水印命令
	 */
	@Value("${qiniu.img_water_mark}")
	private String imgWaterMark;
	/**
	 * 七牛打包命令
	 */
	@Value("${qiniu.zip_line}")
	private String zipLine;
	public String getAccessKey() {
		return accessKey;
	}
	public void setAccessKey(String accessKey) {
		this.accessKey = accessKey;
	}
	public String getSecretKey() {
		return secretKey;
	}
	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}
	public String getNotifyUrl() {
		return notifyUrl;
	}
	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}
	public String getGateway() {
		return gateway;
	}
	public void setGateway(String gateway) {
		this.gateway = gateway;
	}
	public String getOldBucket() {
		return oldBucket;
	}
	public void setOldBucket(String oldBucket) {
		this.oldBucket = oldBucket;
	}
	public String getNewBucket() {
		return newBucket;
	}
	public void setNewBucket(String newBucket) {
		this.newBucket = newBucket;
	}
	public String getPipeline() {
		return pipeline;
	}
	public void setPipeline(String pipeline) {
		this.pipeline = pipeline;
	}
	public String getVideoEncode() {
		return videoEncode;
	}
	public void setVideoEncode(String videoEncode) {
		this.videoEncode = videoEncode;
	}
	public String getImgLimit() {
		return imgLimit;
	}
	public void setImgLimit(String imgLimit) {
		this.imgLimit = imgLimit;
	}
	public String getImgWaterMark() {
		return imgWaterMark;
	}
	public void setImgWaterMark(String imgWaterMark) {
		this.imgWaterMark = imgWaterMark;
	}
	public String getZipLine() {
		return zipLine;
	}
	public void setZipLine(String zipLine) {
		this.zipLine = zipLine;
	}
}
